﻿<ul class="header_list">
@if(Request.IsAuthenticated) {
    <li class="header_list">Welcome <b>@Context.User.Identity.Name</b>!
     @Html.ActionLink("注销", "LogOff", "Account") </li>
}
else {
    <li > @Html.ActionLink("登录", "LogOn", "Account") </li>
    <li>@Html.ActionLink("加入猎狗","Register","Account")</li>
}
</ul>